package com.gxa.jjty.core.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @author 雅风
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

@ApiModel("我的评价实体")
@Table(name = "my_evaluateVO")
public class MyEvaluateVo implements Serializable {

  @Column(name = "cjr_id")
  private Long cjrId;

  @Column(name = "app_name")
  private String serveType;

  @Column(name = "app_icon")
  private String serveIcon;

  @Column(name = "cost")
  private Double cost;

  @Column(name = "score")
  private String score;

  @Column(name = "serve_time")
  private String serveTime;

  @Column(name = "remark")
  private String remark;

  @Column(name = "evaluate_time")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp evaluateTime;

  @Column(name = "order_id")
  private Long orderId;

  @Column(name = "phy_id")
  private Long phyId;

  @Column(name = "flag")
  private Integer flag;

  /**
   * 对应的评价图片路径集合
   */
  private transient List<EvaluateImg> imgUrls;


}
